<template>
  <button @click="logout">退出登录</button>
  <img alt="Vue logo" src="./assets/logo.png">
  <HelloWorld msg="Welcome to Your Vue.js App" />
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  }, methods: {
    logout() {
      sessionStorage.setItem('showLogin', '1')
      this.$router.push('/LoginApp')
    }
  }
}
</script>

<style></style>
